﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>友情链接 - {config.webname}</title>
<link rel="stylesheet" href="{config.webpath}css/validate.css" />
<link rel="stylesheet" href="{config.webpath}scripts/ui/skins/Aqua/css/ligerui-all.css" />
<link type="text/css" rel="stylesheet" href="{config.webpath}css/pagination.css" />
<link rel="stylesheet" href="{config.templateskin}/css/style.css" />
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery.form.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery.validate.min.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/jquery/messages_cn.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/ui/js/ligerBuild.min.js"></script>
<script type="text/javascript" src="{config.templateskin}/js/base.js"></script>
<script type="text/javascript">
$(function(){
	//初始化表单
	AjaxInitForm('link_form', 'btnSubmit', 1);
});
</script>
</head>

<body>
<!--Header-->
<div class="header">
  <div class="header_inner">
    <h1 class="logo">
      <a title="{config.webname}" href="{config.weburl}">{config.webname}</a>
    </h1>
    <ul class="nav">
      <li><a href="<%linkurl("index")%>">首页</a></li>
      <li><a href="<%linkurl("news")%>">新闻资讯</a></li>
      <li><a href="<%linkurl("goods")%>">购物商城</a></li>
      <li><a href="<%linkurl("photo")%>">图片分享</a></li>
      <li><a href="<%linkurl("down")%>">资源下载</a></li>
    </ul>
    <div class="search">
      <input id="keywords" name="keywords" class="input" type="text" x-webkit-speech="" autofocus="" placeholder="输入回车搜索" />
      <input class="submit" type="submit" value="搜索" onclick="SiteSearch('{config.webpath}search.aspx', '#keywords');" />
    </div>
    <ul class="menu">
      <li><a href="<%linkurl("content","contact")%>">联系我们</a></li>
      <li><a href="<%linkurl("shopping","cart")%>">购物车<%write get_cart_quantity()%>件</a></li>
      <%if IsUserLogin()%>
      <li><a href="<%linkurl("usercenter","exit")%>">注销</a></li>
      <li><a href="<%linkurl("usercenter","index")%>">会员中心</a></li>
      <%else%>
      <li><a href="<%linkurl("register")%>">注册</a></li>
      <li><a href="<%linkurl("login")%>">登录</a></li>
      <%/if%>
    </ul>
  </div>
</div>
<!--/Header-->

<div class="boxwrap">
  <div class="left710">
   <!--Content-->
    <div class="content">
      <div class="meta">
        <h1 class="meta-tit">友情链接</h1>
      </div>
      
      <div class="line20"></div>
      <!--Link-->
      <div class="links">
        <ul class="img">
          <%set (DataTable){imgList}=new AjeeleeCms.Web.Plugin.Link.link().get_link_list(0, "is_image=1")%>
          <%loop list1 imgList%>
          <li><a target="_blank" href="{list1[site_url]}" title="{list1[title]}"><img src="{list1[img_url]}" width="88" height="31" /></a></li>
          <%/loop%>
        </ul>
        <ul class="txt">
          <%set (DataTable){txtList}=new AjeeleeCms.Web.Plugin.Link.link().get_link_list(0, "is_image=0")%>
          <%loop list2 txtList%>
          <a target="_blank" href="{list2[site_url]}" title="{list2[title]}">{list2[title]}</a> | 
          <%/loop%>
        </ul>
      </div>
      <!--/Link-->
      <div class="line10"></div>
     
      <h3 class="base_tit">申请链接<a name="Add" id="Add"></a></h3>
      <div class="line10"></div>
      <form id="link_form" name="link_form" url="{config.webpath}plugins/link/ajax.ashx?action=add">
     <div class="form_box">
       <dl>
         <dt>网站名称：</dt>
         <dd><input id="txtTitle" name="txtTitle" type="text" class="input txt required" /><label>*需要申请友情链接的网站标题</label></dd>
       </dl>
       
       <dl>
         <dt>联系人：</dt>
         <dd><input id="txtUserName" name="txtUserName" type="text" class="input txt required" /><label>*该网站联系人的姓名</label></dd>
       </dl>
       <dl>
         <dt>联系电话：</dt>
         <dd><input id="txtUserTel" name="txtUserTel" type="text" class="input txt" /></dd>
       </dl>
       <dl>
         <dt>电子邮箱：</dt>
         <dd><input id="txtEmail" name="txtEmail" type="text" class="input txt email" /></dd>
       </dl>
       <dl>
         <dt>链接网址：</dt>
         <dd><input id="txtSiteUrl" name="txtSiteUrl" type="text" class="input txt required url" /><label>*申请友情链接的网址</label></dd>
       </dl>
       <dl>
         <dt>LOGO图片：</dt>
         <dd><input id="txtImgUrl" name="txtImgUrl" type="text" class="input txt" /><label>网站链接的LOGO图片地址</label></dd>
       </dl>
       <dl>
         <dt>验证码：</dt>
         <dd>
           <input id="txtCode" name="txtCode" type="text" class="input small required" />
           <a href="javascript:;" onclick="ToggleCode(this, '{config.webpath}tools/verify_code.ashx');return false;"><img src="{config.webpath}tools/verify_code.ashx" width="80" height="22" align="absmiddle" /> 看不清楚？</a>
         </dd>
       </dl>
       <dl>
         <dt></dt>
         <dd>
           <input name="btnSubmit" type="submit" value="申请链接" class="btn_submit" />
         </dd>
       </dl>
     </div>
     <div class="clear"></div>
     </form>
     
    </div>
    <!--/Content-->
  </div>
  
  <div class="left264">
    <!--Sidebar-->
    <div class="sidebar">
      <h3>栏目导航</h3>
      <ul>
        <%set (DataTable){contentlist}=get_content_list(5, 0, 0, "is_lock=0")%>
        <%loop cdr contentlist%>
        <li><a title="{cdr[title]}" href="<%linkurl("content",{cdr[call_index]})%>">{cdr[title]}</a></li>
        <%/loop%>
        <li><a href="<%linkurl("feedback")%>">留言反馈</a></li>
        <li><a href="<%linkurl("link")%>">友情链接</a></li>
      </ul>
      <h3>客户服务</h3>
      <div class="section">
        <p>电话：13800138000</p>
        <p>在线QQ：400830000</p>
        <p>E-mail：info@AjeeleeCms.net</p>
        <p>新浪微博：http://weibo.com/AjeeleeCms</p>
      </div>
    </div>
    <!--/Sidebar-->
    
  </div>
</div>

<div class="clear"></div>

<!--Footer-->
<div class="footer">
  <div class="footer_inner">
    <div class="foot_nav">
      <a target="_blank" href="<%linkurl("index")%>">首 页</a>|
      <a target="_blank" href="<%linkurl("content","about")%>">关于我们</a>|
      <a target="_blank" href="<%linkurl("news")%>">新闻资讯</a>|
      <a target="_blank" href="<%linkurl("goods")%>">购物商城</a>|
      <a target="_blank" href="<%linkurl("down")%>">资源下载</a>|
      <a target="_blank" href="<%linkurl("photo")%>">图片分享</a>|
      <a target="_blank" href="<%linkurl("feedback")%>">留言反馈</a>|
      <a target="_blank" href="<%linkurl("link")%>">友情链接</a>|
      <a target="_blank" href="<%linkurl("content","contact")%>">联系我们</a>|
    </div>
    <div class="clear"></div>
    <div class="copyright">
      <p>版权所有 动力启航软件工作室 粤ICP备11064298号 © Copyright 2009 - 2011. It134.cn. All Rights Reserved. <script src="http://s24.cnzz.com/stat.php?id=1996164&web_id=1996164&show=pic" language="JavaScript"></script>&nbsp; </p>
    </div>
  </div>
</div>
<!--/Footer-->
</body>
</html>
